package com.rj.bd.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import org.apache.solr.client.solrj.SolrServerException;

import com.rj.bd.entity.Book;

public interface IBookSerivce {

	List<Book> queryAll();

	Map<String,Object> getPage(Map maps, String name) throws SolrServerException, IOException;

	List<Book> query(String name);

	void delete(String bid);

	void add(Book book);

	List<Map> queryById(String bid);

	void editByZhuangTaiWei(String bid);

	void editByBookZhuangTaiWei(String bid);


}
